<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition>

        <p:dialog id="TipoingresosCreateDlg" widgetVar="TipoingresosCreateDialog" modal="true" resizable="false" appendToBody="true" header="#{rentaBundle.CreateTipoingresosTitle}">

            <h:form id="TipoingresosCreateForm">

                <h:panelGroup id="display">
                    <p:panelGrid columns="2" rendered="#{tipoingresosController.selected != null}">

                        <p:outputLabel value="#{rentaBundle.CreateTipoingresosLabel_idtipoingresos}" for="idtipoingresos" />
                        <p:inputText id="idtipoingresos" value="#{tipoingresosController.selected.idtipoingresos}" title="#{rentaBundle.CreateTipoingresosTitle_idtipoingresos}" required="true" requiredMessage="#{rentaBundle.CreateTipoingresosRequiredMessage_idtipoingresos}"/>

                        <p:outputLabel value="#{rentaBundle.CreateTipoingresosLabel_nombretipoingresos}" for="nombretipoingresos" />
                        <p:inputText id="nombretipoingresos" value="#{tipoingresosController.selected.nombretipoingresos}" title="#{rentaBundle.CreateTipoingresosTitle_nombretipoingresos}" />
                    </p:panelGrid>
                    <p:commandButton actionListener="#{tipoingresosController.saveNew}" value="#{rentaBundle.Save}" update="display,:TipoingresosListForm:datalist,:growl" oncomplete="handleSubmit(xhr,status,args,TipoingresosCreateDialog);"/>
                    <p:commandButton value="#{rentaBundle.Cancel}" onclick="TipoingresosCreateDialog.hide()"/>
                </h:panelGroup>

            </h:form>

        </p:dialog>

    </ui:composition>

</html>
